<%-- 
    Document   : FormLogin
    Created on : Oct 31, 2012, 9:27:04 AM
    Author     : User
--%>

<%@ page session="false" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Form Login</title>

    </head>

        <FORM METHOD="POST" ACTION="processLogin.jsp">
            <body>
            <center>
                
                    <img src="admin.jpg"width="600" height="250">
                  
                
                <table>
                    <br>
                    <tr>
                        <%
                        if (request.getParameter("error") != null) {
                        %>
                        Login failed. Please try again
                        <%    }
                        %>
                    </tr>
                    <tr>
                    <h2>LOGIN</h2>
                    </tr>
                    <tr>
                        <td>
                            username
                        </td>
                        <td> <input type="text" name="userName" size="30"> <br><br></td>
                    </tr>
                    <tr>
                        <td>password</td>
                        <td> <input type="password" name="password" size="30"> <br></td>
                    </tr>
                    <tr>
                    <center>
                        <input type="submit" value="Login" />
                    </center>
                    </tr>
                </table>
            </center>

                
    

    </body>
</html>
